package com.snailframework.gateway.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
*
* @author: zgadmin(zhangge)
* @Date: 2023/4/24 下午2:39
* @Version: 1.0.0
*/
@Data
@ToString
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "gateway")
public class EtrGatewayProperties {

    private JwtFilterConfig jwt;

    @Data
    @ToString
    public static class JwtFilterConfig {

        private String sign;

        private List<String> whiteUrls;

    }

}